<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>修改用户</title>
<link rel="stylesheet" href="${ctx}/css/base.css">
<link rel="stylesheet" href="${ctx}/layui/css/layui.css" media="all">
</head>
<body>
	<div class="body_top_marger10">
		<div class="layui-main layui-form-pane" style="width: 550px">
			<form class="layui-form" action="">
				<div class="hidder_body">
					<input type="hidden" id="id" name="id" value="${organization.id }">
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label"><font color="red">*</font>联系人</label>
					<div class="layui-input-inline">
						<input type="text" id="contacts" readonly="readonly"
							name="contacts" value="${organization.contacts }" required
							lay-verify="required" placeholder="请输入联系人" autocomplete="off"
							class="layui-input">
					</div>
					<div class="mds-form-input-aux">PS：输入该组织联系人名称</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label"><font color="red">*</font>组织名称</label>
					<div class="layui-input-inline">
						<input type="text" id="organizeName" name="organizeName"
							value="${organization.organizeName }" required lay-verify="organizeName"
							placeholder="请输入组织名称" autocomplete="off" class="layui-input">
					</div>
					<div class="mds-form-input-aux">PS：尽可能使用中文吧</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label"><font color="red">*</font>联系人电话</label>
					<div class="layui-input-block">
						<input type="text" id="contactsPhone" name="contactsPhone"
							value="${organization.contactsPhone }" required lay-verify="required"
							placeholder="请输入手机号码" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label"><font color="red">*</font>组织地址</label>
					<div class="layui-input-block">
						<input class="layui-input" id="organizeAddress" name="organizeAddress"
					   		value="${organization.organizeAddress}" required lay-verify="required"
						placeholder="请选择出生日期" autocomplete="off">
					</div>
				</div>
				<div class="layui-form-item" pane>
					<label class="layui-form-label"><font color="red">*</font>用户类型</label>
					<div class="layui-input-block">
						<c:if test="${organization.organizeType==0 }">
							<input type="radio" name="organizeType" value="0" title="火车" checked>
							<input type="radio" name="organizeType" value="1" title="段" >
							<input type="radio" name="organizeType" value="2" title="洗涤厂" >
							<input type="radio" name="organizeType" value="3" title="库" >
						</c:if>
						<c:if test="${organization.organizeType==1 }">
							<input type="radio" name="organizeType" value="0" title="火车" >
							<input type="radio" name="organizeType" value="1" title="段" checked>
							<input type="radio" name="organizeType" value="2" title="洗涤厂" >
							<input type="radio" name="organizeType" value="3" title="库" >
						</c:if>
						<c:if test="${organization.organizeType==2 }">
							<input type="radio" name="organizeType" value="0" title="火车" >
							<input type="radio" name="organizeType" value="1" title="段" >
							<input type="radio" name="organizeType" value="2" title="洗涤厂" checked>
							<input type="radio" name="organizeType" value="3" title="库" >
						</c:if>
						<c:if test="${organization.organizeType==3 }">
							<input type="radio" name="organizeType" value="0" title="火车" >
							<input type="radio" name="organizeType" value="1" title="段" >
							<input type="radio" name="organizeType" value="2" title="洗涤厂">
							<input type="radio" name="organizeType" value="3" title="库" checked>

						</c:if>
					</div>
				</div>

				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit lay-filter="formSubmit">保存</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</form>
		</div>
	</div>
	<script src="${ctx}/js/jquery.min.js"></script>
	<script src="${ctx}/layui/layui.js"></script>
	<script type="text/javascript">
		var rootPath = '${ctx}';
	</script>
	<script src="${ctx}/js/jfTable.js"></script>
	<script src="${ctx}/js/system/organization/organizer_update.js"></script>
</body>
</html>